<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: IRPanasonicAc32 Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IRremoteESP8266
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classIRPanasonicAc32-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">IRPanasonicAc32 Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class for handling detailed Panasonic 32bit A/C messages.  
 <a href="classIRPanasonicAc32.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ir__Panasonic_8h_source.html">ir_Panasonic.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRPanasonicAc32:</div>
<div class="dyncontent">
<div class="center"><img src="classIRPanasonicAc32__coll__graph.png" border="0" usemap="#IRPanasonicAc32_coll__map" alt="Collaboration graph"/></div>
<map name="IRPanasonicAc32_coll__map" id="IRPanasonicAc32_coll__map">
<area shape="rect" title="Class for handling detailed Panasonic 32bit A/C messages." alt="" coords="45,95,177,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="5,5,72,32"/>
<area shape="rect" href="unionPanasonicAc32Protocol.html" title="Native representation of a Panasonic 32&#45;bit A/C message." alt="" coords="97,5,269,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ade8637984d8c1d5d881dc636d501676d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#ade8637984d8c1d5d881dc636d501676d">IRPanasonicAc32</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:ade8637984d8c1d5d881dc636d501676d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor.  <a href="classIRPanasonicAc32.html#ade8637984d8c1d5d881dc636d501676d">More...</a><br /></td></tr>
<tr class="separator:ade8637984d8c1d5d881dc636d501676d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac38e1daa7107f90d2d1984940c72c4a1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#ac38e1daa7107f90d2d1984940c72c4a1">stateReset</a> (void)</td></tr>
<tr class="memdesc:ac38e1daa7107f90d2d1984940c72c4a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the state of the remote to a known good state/sequence.  <a href="classIRPanasonicAc32.html#ac38e1daa7107f90d2d1984940c72c4a1">More...</a><br /></td></tr>
<tr class="separator:ac38e1daa7107f90d2d1984940c72c4a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae5867f05744ebcac4720b31b6fc9021"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#aae5867f05744ebcac4720b31b6fc9021">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#af6b7c6ad564253cb128ac92c00e86f0c">kPanasonicAcDefaultRepeat</a>)</td></tr>
<tr class="memdesc:aae5867f05744ebcac4720b31b6fc9021"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as IR messages.  <a href="classIRPanasonicAc32.html#aae5867f05744ebcac4720b31b6fc9021">More...</a><br /></td></tr>
<tr class="separator:aae5867f05744ebcac4720b31b6fc9021"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99218b5c80a3cedda986df9bfbcf5065"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a99218b5c80a3cedda986df9bfbcf5065">calibrate</a> (void)</td></tr>
<tr class="memdesc:a99218b5c80a3cedda986df9bfbcf5065"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform.  <a href="classIRPanasonicAc32.html#a99218b5c80a3cedda986df9bfbcf5065">More...</a><br /></td></tr>
<tr class="separator:a99218b5c80a3cedda986df9bfbcf5065"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f57fefe38eac51f49113a21defadc4c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a8f57fefe38eac51f49113a21defadc4c">begin</a> (void)</td></tr>
<tr class="memdesc:a8f57fefe38eac51f49113a21defadc4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message.  <a href="classIRPanasonicAc32.html#a8f57fefe38eac51f49113a21defadc4c">More...</a><br /></td></tr>
<tr class="separator:a8f57fefe38eac51f49113a21defadc4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0206dff39920f1407ed52256ee1b083"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#ad0206dff39920f1407ed52256ee1b083">setPowerToggle</a> (const bool on)</td></tr>
<tr class="memdesc:ad0206dff39920f1407ed52256ee1b083"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Power Toggle setting of the A/C.  <a href="classIRPanasonicAc32.html#ad0206dff39920f1407ed52256ee1b083">More...</a><br /></td></tr>
<tr class="separator:ad0206dff39920f1407ed52256ee1b083"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbbae70ea168e39a3adcf6846e981bd8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#afbbae70ea168e39a3adcf6846e981bd8">getPowerToggle</a> (void) const</td></tr>
<tr class="memdesc:afbbae70ea168e39a3adcf6846e981bd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Power Toggle setting of the A/C.  <a href="classIRPanasonicAc32.html#afbbae70ea168e39a3adcf6846e981bd8">More...</a><br /></td></tr>
<tr class="separator:afbbae70ea168e39a3adcf6846e981bd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a697a5816a4bed187e2245fe626727395"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a697a5816a4bed187e2245fe626727395">setTemp</a> (const uint8_t temp)</td></tr>
<tr class="memdesc:a697a5816a4bed187e2245fe626727395"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the desired temperature.  <a href="classIRPanasonicAc32.html#a697a5816a4bed187e2245fe626727395">More...</a><br /></td></tr>
<tr class="separator:a697a5816a4bed187e2245fe626727395"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1813480b9ecf4cee49d41f3da84f2e9f"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a1813480b9ecf4cee49d41f3da84f2e9f">getTemp</a> (void) const</td></tr>
<tr class="memdesc:a1813480b9ecf4cee49d41f3da84f2e9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current desired temperature setting.  <a href="classIRPanasonicAc32.html#a1813480b9ecf4cee49d41f3da84f2e9f">More...</a><br /></td></tr>
<tr class="separator:a1813480b9ecf4cee49d41f3da84f2e9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa15347ebf0eb6db7abb64553f3eb3d7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#aaa15347ebf0eb6db7abb64553f3eb3d7">setFan</a> (const uint8_t fan)</td></tr>
<tr class="memdesc:aaa15347ebf0eb6db7abb64553f3eb3d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan.  <a href="classIRPanasonicAc32.html#aaa15347ebf0eb6db7abb64553f3eb3d7">More...</a><br /></td></tr>
<tr class="separator:aaa15347ebf0eb6db7abb64553f3eb3d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03a6d54ef606dcb67931a7e42532fb34"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a03a6d54ef606dcb67931a7e42532fb34">getFan</a> (void) const</td></tr>
<tr class="memdesc:a03a6d54ef606dcb67931a7e42532fb34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting.  <a href="classIRPanasonicAc32.html#a03a6d54ef606dcb67931a7e42532fb34">More...</a><br /></td></tr>
<tr class="separator:a03a6d54ef606dcb67931a7e42532fb34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bd5cef91112ddb0913685e64d3f60ae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a3bd5cef91112ddb0913685e64d3f60ae">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a3bd5cef91112ddb0913685e64d3f60ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the operating mode of the A/C.  <a href="classIRPanasonicAc32.html#a3bd5cef91112ddb0913685e64d3f60ae">More...</a><br /></td></tr>
<tr class="separator:a3bd5cef91112ddb0913685e64d3f60ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a353b10038a47d96ec12ea233b8160031"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a353b10038a47d96ec12ea233b8160031">getMode</a> (void) const</td></tr>
<tr class="memdesc:a353b10038a47d96ec12ea233b8160031"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the operating mode setting of the A/C.  <a href="classIRPanasonicAc32.html#a353b10038a47d96ec12ea233b8160031">More...</a><br /></td></tr>
<tr class="separator:a353b10038a47d96ec12ea233b8160031"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a349462a31274f3785effdb249b485368"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a349462a31274f3785effdb249b485368">setRaw</a> (const uint32_t state)</td></tr>
<tr class="memdesc:a349462a31274f3785effdb249b485368"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state from a valid code for this protocol.  <a href="classIRPanasonicAc32.html#a349462a31274f3785effdb249b485368">More...</a><br /></td></tr>
<tr class="separator:a349462a31274f3785effdb249b485368"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9128df3724e0767070718c9811ce7d2d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a9128df3724e0767070718c9811ce7d2d">getRaw</a> (void) const</td></tr>
<tr class="memdesc:a9128df3724e0767070718c9811ce7d2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a copy of the internal state/code for this protocol.  <a href="classIRPanasonicAc32.html#a9128df3724e0767070718c9811ce7d2d">More...</a><br /></td></tr>
<tr class="separator:a9128df3724e0767070718c9811ce7d2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6af790d2828a64e5b5cb70bf818a578"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#ab6af790d2828a64e5b5cb70bf818a578">setSwingVertical</a> (const uint8_t pos)</td></tr>
<tr class="memdesc:ab6af790d2828a64e5b5cb70bf818a578"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control the vertical swing setting.  <a href="classIRPanasonicAc32.html#ab6af790d2828a64e5b5cb70bf818a578">More...</a><br /></td></tr>
<tr class="separator:ab6af790d2828a64e5b5cb70bf818a578"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93326072ab7684c147673ff7a5074799"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a93326072ab7684c147673ff7a5074799">getSwingVertical</a> (void) const</td></tr>
<tr class="memdesc:a93326072ab7684c147673ff7a5074799"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current vertical swing setting.  <a href="classIRPanasonicAc32.html#a93326072ab7684c147673ff7a5074799">More...</a><br /></td></tr>
<tr class="separator:a93326072ab7684c147673ff7a5074799"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3361eb1f7e4da86290ad3f2c3e68340b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a3361eb1f7e4da86290ad3f2c3e68340b">setSwingHorizontal</a> (const bool on)</td></tr>
<tr class="memdesc:a3361eb1f7e4da86290ad3f2c3e68340b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control the horizontal swing setting.  <a href="classIRPanasonicAc32.html#a3361eb1f7e4da86290ad3f2c3e68340b">More...</a><br /></td></tr>
<tr class="separator:a3361eb1f7e4da86290ad3f2c3e68340b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1d2c9d265db4c3395376c45ba6b5bba"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#aa1d2c9d265db4c3395376c45ba6b5bba">getSwingHorizontal</a> (void) const</td></tr>
<tr class="memdesc:aa1d2c9d265db4c3395376c45ba6b5bba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current horizontal swing setting.  <a href="classIRPanasonicAc32.html#aa1d2c9d265db4c3395376c45ba6b5bba">More...</a><br /></td></tr>
<tr class="separator:aa1d2c9d265db4c3395376c45ba6b5bba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49749cb320f52c62fd51a6d271277696"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a49749cb320f52c62fd51a6d271277696">toCommon</a> (const <a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> *prev=NULL) const</td></tr>
<tr class="memdesc:a49749cb320f52c62fd51a6d271277696"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent.  <a href="classIRPanasonicAc32.html#a49749cb320f52c62fd51a6d271277696">More...</a><br /></td></tr>
<tr class="separator:a49749cb320f52c62fd51a6d271277696"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aee4f688769c04453ac275ffdb1a94c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a4aee4f688769c04453ac275ffdb1a94c">toString</a> (void) const</td></tr>
<tr class="memdesc:a4aee4f688769c04453ac275ffdb1a94c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into a human readable string.  <a href="classIRPanasonicAc32.html#a4aee4f688769c04453ac275ffdb1a94c">More...</a><br /></td></tr>
<tr class="separator:a4aee4f688769c04453ac275ffdb1a94c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a229264735483d62735dc3b32c42fb718"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a229264735483d62735dc3b32c42fb718">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:a229264735483d62735dc3b32c42fb718"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode.  <a href="classIRPanasonicAc32.html#a229264735483d62735dc3b32c42fb718">More...</a><br /></td></tr>
<tr class="separator:a229264735483d62735dc3b32c42fb718"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35814ff1a9625da3380482d039665b0b"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a35814ff1a9625da3380482d039665b0b">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
<tr class="memdesc:a35814ff1a9625da3380482d039665b0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed.  <a href="classIRPanasonicAc32.html#a35814ff1a9625da3380482d039665b0b">More...</a><br /></td></tr>
<tr class="separator:a35814ff1a9625da3380482d039665b0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0487f241fd414aa20d2f352203c72a26"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a0487f241fd414aa20d2f352203c72a26">convertSwingV</a> (const <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a> position)</td></tr>
<tr class="memdesc:a0487f241fd414aa20d2f352203c72a26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a standard A/C vertical swing into its native setting.  <a href="classIRPanasonicAc32.html#a0487f241fd414aa20d2f352203c72a26">More...</a><br /></td></tr>
<tr class="separator:a0487f241fd414aa20d2f352203c72a26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a396a35813eef61112168f4700eb6e4f7"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a396a35813eef61112168f4700eb6e4f7">toCommonMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a396a35813eef61112168f4700eb6e4f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRPanasonicAc32.html#a396a35813eef61112168f4700eb6e4f7">More...</a><br /></td></tr>
<tr class="separator:a396a35813eef61112168f4700eb6e4f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbe96fc57d66d4759e007d97b2cba8b6"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#acbe96fc57d66d4759e007d97b2cba8b6">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:acbe96fc57d66d4759e007d97b2cba8b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRPanasonicAc32.html#acbe96fc57d66d4759e007d97b2cba8b6">More...</a><br /></td></tr>
<tr class="separator:acbe96fc57d66d4759e007d97b2cba8b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3118f4625c25c450a0dccf34568ea726"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a3118f4625c25c450a0dccf34568ea726">toCommonSwingV</a> (const uint8_t pos)</td></tr>
<tr class="memdesc:a3118f4625c25c450a0dccf34568ea726"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native vertical swing postion to it's common equivalent.  <a href="classIRPanasonicAc32.html#a3118f4625c25c450a0dccf34568ea726">More...</a><br /></td></tr>
<tr class="separator:a3118f4625c25c450a0dccf34568ea726"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:acc38daddd226f27b33835532041d5148"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIRsend.html">IRsend</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#acc38daddd226f27b33835532041d5148">_irsend</a></td></tr>
<tr class="memdesc:acc38daddd226f27b33835532041d5148"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instance of the IR send class.  <a href="classIRPanasonicAc32.html#acc38daddd226f27b33835532041d5148">More...</a><br /></td></tr>
<tr class="separator:acc38daddd226f27b33835532041d5148"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d6fab2a42e831ab00ab5364ad8d3de4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionPanasonicAc32Protocol.html">PanasonicAc32Protocol</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRPanasonicAc32.html#a9d6fab2a42e831ab00ab5364ad8d3de4">_</a></td></tr>
<tr class="memdesc:a9d6fab2a42e831ab00ab5364ad8d3de4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The state in code form.  <a href="classIRPanasonicAc32.html#a9d6fab2a42e831ab00ab5364ad8d3de4">More...</a><br /></td></tr>
<tr class="separator:a9d6fab2a42e831ab00ab5364ad8d3de4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for handling detailed Panasonic 32bit A/C messages. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ade8637984d8c1d5d881dc636d501676d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade8637984d8c1d5d881dc636d501676d">&#9670;&nbsp;</a></span>IRPanasonicAc32()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">IRPanasonicAc32::IRPanasonicAc32 </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>pin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>inverted</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>use_modulation</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Class constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pin</td><td>GPIO to be used when sending. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">inverted</td><td>Is the output signal to be inverted? </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">use_modulation</td><td>Is frequency modulation to be used? </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8f57fefe38eac51f49113a21defadc4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f57fefe38eac51f49113a21defadc4c">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRPanasonicAc32::begin </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set up hardware to be able to send a message. </p>

</div>
</div>
<a id="a99218b5c80a3cedda986df9bfbcf5065"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99218b5c80a3cedda986df9bfbcf5065">&#9670;&nbsp;</a></span>calibrate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int8_t IRPanasonicAc32::calibrate </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Run the calibration to calculate uSec timing offsets for this platform. </p>
<dl class="section return"><dt>Returns</dt><dd>The uSec timing offset needed per modulation of the IR Led. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>This will produce a 65ms IR signal pulse at 38kHz. Only ever needs to be run once per object instantiation, if at all. </dd></dl>

</div>
</div>
<a id="a35814ff1a9625da3380482d039665b0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35814ff1a9625da3380482d039665b0b">&#9670;&nbsp;</a></span>convertFan()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRPanasonicAc32::convertFan </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="a229264735483d62735dc3b32c42fb718"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a229264735483d62735dc3b32c42fb718">&#9670;&nbsp;</a></span>convertMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRPanasonicAc32::convertMode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="a0487f241fd414aa20d2f352203c72a26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0487f241fd414aa20d2f352203c72a26">&#9670;&nbsp;</a></span>convertSwingV()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRPanasonicAc32::convertSwingV </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a>&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a standard A/C vertical swing into its native setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">position</td><td>A <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43" title="Common A/C settings for Vertical Swing.">stdAc::swingv_t</a> position to convert. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The equivalent native horizontal swing position. </dd></dl>

</div>
</div>
<a id="a03a6d54ef606dcb67931a7e42532fb34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03a6d54ef606dcb67931a7e42532fb34">&#9670;&nbsp;</a></span>getFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRPanasonicAc32::getFan </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current fan speed setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current fan speed. </dd></dl>

</div>
</div>
<a id="a353b10038a47d96ec12ea233b8160031"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a353b10038a47d96ec12ea233b8160031">&#9670;&nbsp;</a></span>getMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRPanasonicAc32::getMode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the operating mode setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The current operating mode setting. </dd></dl>

</div>
</div>
<a id="afbbae70ea168e39a3adcf6846e981bd8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afbbae70ea168e39a3adcf6846e981bd8">&#9670;&nbsp;</a></span>getPowerToggle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRPanasonicAc32::getPowerToggle </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Power Toggle setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a9128df3724e0767070718c9811ce7d2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9128df3724e0767070718c9811ce7d2d">&#9670;&nbsp;</a></span>getRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t IRPanasonicAc32::getRaw </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a copy of the internal state/code for this protocol. </p>
<dl class="section return"><dt>Returns</dt><dd>The code for this protocol based on the current internal state. </dd></dl>

</div>
</div>
<a id="aa1d2c9d265db4c3395376c45ba6b5bba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1d2c9d265db4c3395376c45ba6b5bba">&#9670;&nbsp;</a></span>getSwingHorizontal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRPanasonicAc32::getSwingHorizontal </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current horizontal swing setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current position it is set to. </dd></dl>

</div>
</div>
<a id="a93326072ab7684c147673ff7a5074799"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93326072ab7684c147673ff7a5074799">&#9670;&nbsp;</a></span>getSwingVertical()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRPanasonicAc32::getSwingVertical </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current vertical swing setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current position it is set to. </dd></dl>

</div>
</div>
<a id="a1813480b9ecf4cee49d41f3da84f2e9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1813480b9ecf4cee49d41f3da84f2e9f">&#9670;&nbsp;</a></span>getTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRPanasonicAc32::getTemp </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current desired temperature setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current setting for temp. in degrees celsius. </dd></dl>

</div>
</div>
<a id="aae5867f05744ebcac4720b31b6fc9021"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae5867f05744ebcac4720b31b6fc9021">&#9670;&nbsp;</a></span>send()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRPanasonicAc32::send </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>repeat</em> = <code><a class="el" href="IRremoteESP8266_8h.html#af6b7c6ad564253cb128ac92c00e86f0c">kPanasonicAcDefaultRepeat</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Send the current internal state as IR messages. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">repeat</td><td>Nr. of times the message will be repeated. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aaa15347ebf0eb6db7abb64553f3eb3d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa15347ebf0eb6db7abb64553f3eb3d7">&#9670;&nbsp;</a></span>setFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRPanasonicAc32::setFan </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the speed of the fan. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The desired setting. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3bd5cef91112ddb0913685e64d3f60ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bd5cef91112ddb0913685e64d3f60ae">&#9670;&nbsp;</a></span>setMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRPanasonicAc32::setMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the operating mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The desired operating mode. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>If we get an unexpected mode, default to AUTO. </dd></dl>

</div>
</div>
<a id="ad0206dff39920f1407ed52256ee1b083"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0206dff39920f1407ed52256ee1b083">&#9670;&nbsp;</a></span>setPowerToggle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRPanasonicAc32::setPowerToggle </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Power Toggle setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a349462a31274f3785effdb249b485368"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a349462a31274f3785effdb249b485368">&#9670;&nbsp;</a></span>setRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRPanasonicAc32::setRaw </td>
          <td>(</td>
          <td class="paramtype">const uint32_t&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the internal state from a valid code for this protocol. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>A valid code for this protocol. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3361eb1f7e4da86290ad3f2c3e68340b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3361eb1f7e4da86290ad3f2c3e68340b">&#9670;&nbsp;</a></span>setSwingHorizontal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRPanasonicAc32::setSwingHorizontal </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Control the horizontal swing setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab6af790d2828a64e5b5cb70bf818a578"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6af790d2828a64e5b5cb70bf818a578">&#9670;&nbsp;</a></span>setSwingVertical()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRPanasonicAc32::setSwingVertical </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Control the vertical swing setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pos</td><td>The position to set the vertical swing to. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a697a5816a4bed187e2245fe626727395"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a697a5816a4bed187e2245fe626727395">&#9670;&nbsp;</a></span>setTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRPanasonicAc32::setTemp </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>degrees</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the desired temperature. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">degrees</td><td>The temperature in degrees celsius. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac38e1daa7107f90d2d1984940c72c4a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac38e1daa7107f90d2d1984940c72c4a1">&#9670;&nbsp;</a></span>stateReset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRPanasonicAc32::stateReset </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reset the state of the remote to a known good state/sequence. </p>

</div>
</div>
<a id="a49749cb320f52c62fd51a6d271277696"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49749cb320f52c62fd51a6d271277696">&#9670;&nbsp;</a></span>toCommon()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> IRPanasonicAc32::toCommon </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> *&#160;</td>
          <td class="paramname"><em>prev</em> = <code>NULL</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">prev</td><td>Ptr to the previous state if required. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native settings. </dd></dl>

</div>
</div>
<a id="acbe96fc57d66d4759e007d97b2cba8b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbe96fc57d66d4759e007d97b2cba8b6">&#9670;&nbsp;</a></span>toCommonFanSpeed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> IRPanasonicAc32::toCommonFanSpeed </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>spd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">spd</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

</div>
</div>
<a id="a396a35813eef61112168f4700eb6e4f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a396a35813eef61112168f4700eb6e4f7">&#9670;&nbsp;</a></span>toCommonMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> IRPanasonicAc32::toCommonMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

</div>
</div>
<a id="a3118f4625c25c450a0dccf34568ea726"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3118f4625c25c450a0dccf34568ea726">&#9670;&nbsp;</a></span>toCommonSwingV()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a> IRPanasonicAc32::toCommonSwingV </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native vertical swing postion to it's common equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pos</td><td>A native position to convert. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The common vertical swing position. </dd></dl>

</div>
</div>
<a id="a4aee4f688769c04453ac275ffdb1a94c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4aee4f688769c04453ac275ffdb1a94c">&#9670;&nbsp;</a></span>toString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a> IRPanasonicAc32::toString </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into a human readable string. </p>
<dl class="section return"><dt>Returns</dt><dd>A human readable string. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a9d6fab2a42e831ab00ab5364ad8d3de4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d6fab2a42e831ab00ab5364ad8d3de4">&#9670;&nbsp;</a></span>_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="unionPanasonicAc32Protocol.html">PanasonicAc32Protocol</a> IRPanasonicAc32::_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The state in code form. </p>

</div>
</div>
<a id="acc38daddd226f27b33835532041d5148"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc38daddd226f27b33835532041d5148">&#9670;&nbsp;</a></span>_irsend</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classIRsend.html">IRsend</a> IRPanasonicAc32::_irsend</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Instance of the IR send class. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Panasonic_8h_source.html">ir_Panasonic.h</a></li>
<li>src/<a class="el" href="ir__Panasonic_8cpp.html">ir_Panasonic.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
